package req

type SendReq struct {
	Phone string `json:"phone" form:"phone"`
}

type LoginReq struct {
	Phone    string `json:"phone" form:"phone"`
	Password string `json:"password" form:"password"`
	Code     string `json:"code" form:"code"`
}
type Upload struct {
}
type VideoAddReq struct {
	Title        string `json:"title" form:"title"`
	Description  string `json:"description" form:"description"`
	CoverUrl     string `json:"cover_url" form:"cover_url"`
	Category     string `json:"category" form:"category"`
	Types        string `json:"types" form:"types"`
	Region       string `json:"region" form:"region"`
	Year         int    `json:"year" form:"year"`
	Actor        string `json:"actor" form:"actor"`
	PlayCount    int    `json:"play_count" form:"play_count"`
	LikeCount    int    `json:"like_count" form:"like_count"`
	CollectCount int    `json:"collect_count" form:"collect_count"`
	CommentCount int    `json:"comment_count" form:"comment_count"`
}
type VideoListReq struct {
	Page     int `json:"page" form:"page"`
	Size     int `json:"size" form:"size"`
	Category int `json:"category" form:"category"`
	Types    int `json:"types" form:"types"`
	Region   int `json:"region" form:"region"`
}
type VideoFindReq struct {
	VideoId int `json:"video_id" form:"video_id"`
}
type VideoLogReq struct {
	UserId   int `json:"user_id" form:"user_id"`
	VideoId  int `json:"video_id" form:"video_id"`
	EpId     int `json:"ep_id" form:"ep_id"`
	EpTimeAt int `json:"ep_time_at" form:"ep_time_at"`
}
type VideoLogListReq struct {
	UserId int `json:"user_id" form:"user_id"`
}
type HotListReq struct {
}
type EsSyncReq struct {
	VideoId int `json:"video_id" form:"video_id"`
}
type EsSearchReq struct {
	KeyWord string `json:"key_word" form:"key_word"`
	Page    int    `json:"page" form:"page"`
}
